package com.example.javabeabtest.javaBeanSamples;


public class Person {
    private String name = "SimpleLee";
    private String sex = "女";
    private int age = 30;
    private boolean married = true;

    public Person() {
    }
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getSex(){
        return sex;
    }
    public void setSex(String sex){
        this.sex=sex;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age = age;
    }
    public boolean getMarried(){
        return married;
    }
    public void setMarried(boolean married){
        this.married = married;
    }
}
